<?php
function InnoForum_test_main() {
  $email = "preecha_phuket@hotmail.com";
  $subject = "ทดสอบข้อความ";
  $message = "test  test ทดสอบข้อความ ทดสอบข้อความ ทดสอบข้อความ";
  $result = pnModAPIFunc('Mailer', 'user', 'sendmessage', 
                      array('toaddress' => $email, 
                      'subject' => $subject, 
                      'body' => $message, 
                      'html' => true,
                      'charset' => 'UTF-8'));
  echo $email . "<br/>";
  echo $subject . "<br/>";
  echo $message . "<br/>";
  echo "result:" . $result;
  return true;
}


